package com.css.fxfzypg.zcpt.sys.entity;

import java.io.Serializable;
import java.util.Date;
import java.util.LinkedList;
import java.util.List;

public class MHMenuItem implements Serializable {
	private static final long serialVersionUID = -7130564753291455733L;
	private String id;
	private String name;
	private String path;
	private String icon;



	private String menuId;
	private String menuName;
	//private String parentId;
	private String allParentId;
	private String menuOpen;
	private String menuParam;
	private String menuRouter;
	private String menuCtrl;

	private String menuCtrlUrl;
	private String menuUrl;
	private String menuType;
	//private String icon;
	private String appId;
	private Integer sort;
	private String description;
	private String attachId;
	private String isEnable;
	private String createUser;
	private Date createTime;
	private String updateUser;
	private Date updateTime;

	private String openIcon;
	private String funcode;
	private Boolean visible;
	private Boolean isLast;
	private String menuPid;
	private String fastFlag;
	private String color;

	private String mhSysId;


	public String getMenuPid() {
		return menuPid;
	}

	public void setMenuPid(String menuPid) {
		this.menuPid = menuPid;
	}

	private Integer level;

	public List<MHMenuItem> getSubMenu() {
		return subMenu;
	}

	public void setSubMenu(List<MHMenuItem> subMenu) {
		this.subMenu = subMenu;
	}

	private List<MHMenuItem> subMenu = new LinkedList<>();


	public MHMenuItem() {
	}

	public MHMenuItem(String id, String name, String path, String icon,
                      String openIcon, String funcode, Boolean visible, Boolean isLast,
                      String parentId, Integer level, List<MHMenuItem> menus, String fastFlag) {
		super();
		this.id = id;
		this.name = name;
		this.path = path;
		this.icon = icon;
		this.openIcon = openIcon;
		this.funcode = funcode;
		this.visible = visible;
		this.isLast = isLast;
		this.menuPid = parentId;
		this.level = level;
		this.subMenu = menus;
		this.fastFlag = fastFlag;
	}

	public String getMenuCtrlUrl() {
		return menuCtrlUrl;
	}

	public void setMenuCtrlUrl(String menuCtrlUrl) {
		this.menuCtrlUrl = menuCtrlUrl;
	}
	public String getColor() {
		return color;
	}

	public void setColor(String color) {
		this.color = color;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPath() {
		return path;
	}

	public void setPath(String path) {
		this.path = path;
	}

	public String getIcon() {
		return icon;
	}

	public void setIcon(String icon) {
		this.icon = icon;
	}

	public String getOpenIcon() {
		return openIcon;
	}

	public void setOpenIcon(String openIcon) {
		this.openIcon = openIcon;
	}

	public String getFuncode() {
		return funcode;
	}

	public void setFuncode(String funcode) {
		this.funcode = funcode;
	}

	public Boolean getVisible() {
		return visible;
	}

	public void setVisible(Boolean visible) {
		this.visible = visible;
	}

	public Boolean getIsLast() {
		return isLast;
	}

	public void setIsLast(Boolean isLast) {
		this.isLast = isLast;
	}

	public String getParentId() {
		return menuPid;
	}

	public void setParentId(String parentId) {
		this.menuPid = parentId;
	}

	public Integer getLevel() {
		return level;
	}

	public void setLevel(Integer level) {
		this.level = level;
	}

	public List<MHMenuItem> getMenus() {
		return subMenu;
	}

	public void setMenus(List<MHMenuItem> menus) {
		this.subMenu = menus;
	}

	public String getFastFlag() {
		return fastFlag;
	}

	public void setFastFlag(String fastFlag) {
		this.fastFlag = fastFlag;
	}

	public String getMenuId() {
		return menuId;
	}

	public void setMenuId(String menuId) {
		this.menuId = menuId;
	}

	public String getMenuName() {
		return menuName;
	}

	public void setMenuName(String menuName) {
		this.menuName = menuName;
	}

	public String getAllParentId() {
		return allParentId;
	}

	public void setAllParentId(String allParentId) {
		this.allParentId = allParentId;
	}

	public String getMenuOpen() {
		return menuOpen;
	}

	public void setMenuOpen(String menuOpen) {
		this.menuOpen = menuOpen;
	}

	public String getMenuParam() {
		return menuParam;
	}

	public void setMenuParam(String menuParam) {
		this.menuParam = menuParam;
	}

	public String getMenuRouter() {
		return menuRouter;
	}

	public void setMenuRouter(String menuRouter) {
		this.menuRouter = menuRouter;
	}

	public String getMenuCtrl() {
		return menuCtrl;
	}

	public void setMenuCtrl(String menuCtrl) {
		this.menuCtrl = menuCtrl;
	}

	public String getMenuUrl() {
		return menuUrl;
	}

	public void setMenuUrl(String menuUrl) {
		this.menuUrl = menuUrl;
	}

	public String getMenuType() {
		return menuType;
	}

	public void setMenuType(String menuType) {
		this.menuType = menuType;
	}

	public String getAppId() {
		return appId;
	}

	public void setAppId(String appId) {
		this.appId = appId;
	}

	public Integer getSort() {
		return sort;
	}

	public void setSort(Integer sort) {
		this.sort = sort;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getAttachId() {
		return attachId;
	}

	public void setAttachId(String attachId) {
		this.attachId = attachId;
	}

	public String getIsEnable() {
		return isEnable;
	}

	public void setIsEnable(String isEnable) {
		this.isEnable = isEnable;
	}

	public String getCreateUser() {
		return createUser;
	}

	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getUpdateUser() {
		return updateUser;
	}

	public void setUpdateUser(String updateUser) {
		this.updateUser = updateUser;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getMhSysId() {
		return mhSysId;
	}

	public void setMhSysId(String mhSysId) {
		this.mhSysId = mhSysId;
	}
}
